dayup       = 1
factor_up   = 0.01
factor_down = 0.001

for i in range(365):
    if i % 4 == 0:
        dayup = dayup * (1 - factor_down)
    else:
        dayup = dayup * (1 + factor_up)

print("连续学习365天后能力值是:", dayup)